﻿using System;

namespace NodeEditor
{
    public class PortAttribute : Attribute
    {
        public bool isMulti;
        public bool isInput;
        public Type type;

        public PortAttribute()
        {
            this.type = null;
            this.isInput = true;
            this.isMulti = false;
        }

        public PortAttribute(Type type ,bool isInput=true,bool isMulti=false)
        {
            this.type = type;
            this.isInput = isInput;
            this.isMulti = isMulti;
        }
    }
}